package alit.generator.web;

import alit.generator.web.page.AboutPage;
import alit.generator.web.page.HomePage;
import org.apache.wicket.Page;
import org.apache.wicket.protocol.http.WebApplication;

/**
 * User: Alexander Litvinenko
 * Date: 1/14/12
 * Time: 10:26 AM
 */
public class MyApplication extends WebApplication {
    @Override
    public Class<? extends Page> getHomePage() {
        return HomePage.class;
    }

    @Override
    protected void init() {
        super.init();
        mountPage("/about", AboutPage.class);

        getMarkupSettings().setStripWicketTags(true);
    }
}
